package com.bm.server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_userinfo")
public class UserInfo {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer uid;
    private Integer account;
    @TableField("nickName")
    private String  nickName;
    @TableField("headurl")
    private String headurl;
    private Date birthday;
    private String sex;
    @TableField("hometown")
    private String hometown;
    private String occupation;
    private String signature;
    private String label;

}
